<?php

class MainMenu extends TTemplateControl
{
	public function onLoad($params)
	{
		parent::onLoad($params);
		
		$this->m1->setAttribute('onmouseover', "mopen('m1')");
		$this->m1->setAttribute('onmouseout', "mclosetime()");
		
		$this->m2->setAttribute('onmouseover', "mopen('m2')");
		$this->m2->setAttribute('onmouseout', "mclosetime()");
		
		$this->m3->setAttribute('onmouseover', "mopen('m3')");
		$this->m3->setAttribute('onmouseout', "mclosetime()");
		
		$this->m4->setAttribute('onmouseover', "mopen('m4')");
		$this->m4->setAttribute('onmouseout', "mclosetime()");
		
		$this->m5->setAttribute('onmouseover', "mopen('m5')");
		$this->m5->setAttribute('onmouseout', "mclosetime()");
	}
}

?>